From aceafc88e68c178d7387d625297fe4f92b0c13d7 Mon Sep 17 00:00:00 2001 From: Jeremy Bryant Date: Tue, 2 Apr 2024 21:54:40 +0100 Subject: [PATCH] Change cl-case to cl-ecase * which-key.el (which-key--popup-max-dimensions): Change cl-case to cl-ecase to signal error if needed. --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index d4efa3ede75..bf45386f578 100644 --- a/which-key.el +++ b/which-key.el @@ -1366,7 +1366,7 @@ Dimension functions should return the maximum possible (height . width) of the intended popup. SELECTED-WINDOW-WIDTH is the width of currently active window, not the which-key buffer window." - (cl-case which-key-popup-type + (cl-ecase which-key-popup-type (minibuffer (which-key--minibuffer-max-dimensions)) (side-window (which-key--side-window-max-dimensions)) (frame (which-key--frame-max-dimensions)) -- 2.30.2